﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="SearchShangPinList.aspx.cs" Inherits="CSharpDesign.SearchShangPinList" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="maincolumntitle">
        <div class="maincolumntitle01" style="color: #ffffff"><span class="macon"></span>商品搜索</div>
        <div class="maincolumntitle02">
            <a href="NewShangPinList.aspx"><span
                class="more1"></span></a>
        </div>
    </div>
    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
        <tbody>
            <tr>
                <td align="left" bgcolor="#fbfbfb" class="middle_border_1 margin_middle1" style="width: 661px">
                    <asp:DataList ID="DataList1" runat="server" RepeatColumns="3" RepeatDirection="Horizontal"
                        Width="103%">
                        <itemtemplate>
                            <div class="product1" style="width: 153px">
                                <div class="product">
                                    <table cellspacing="0" cellpadding="0" width="100%" height="100%">
                                        <tbody>
                                            <tr valign="middle" align="center">
                                                <td style="height: 122px"><a class="highlightit" href='ChaKanShangPin.aspx?id=<%#Eval("SPID") %>'>
                                                    <img alt="" border="0" src='files/<%#Eval("SPPhoto")%>' style="width: 116px; height: 100px" /></a></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <div class="ptxt"><a href='ChaKanShangPin.aspx?id=<%#Eval("SPID") %>'><%#Eval("SPName").ToString().Length > 25 ? CommonHelper.CutChar(Eval("SPName").ToString(), 32) + "..." : Eval("SPName")%></a></div>

                                ¥  <%#Eval("SPPrice")%>  &nbsp; &nbsp; 销量：<%#Eval("ZongXiaoLiang")%>
                            </div>
                        </itemtemplate>
                    </asp:DataList>
                </td>
            </tr>
            <tr>
                <td align="center" bgcolor="#fbfbfb" class="middle_border_1 margin_middle1" style="width: 661px; height: 38px">共【<asp:Label ID="lblSumPage" runat="server"></asp:Label>】页 &nbsp; &nbsp; &nbsp;
                    当前第【<asp:Label ID="lblCurrentPage" runat="server"></asp:Label>】页&nbsp;
                    <asp:HyperLink ID="hyfirst" runat="server">首页</asp:HyperLink>
                    &nbsp; &nbsp; &nbsp;<asp:HyperLink ID="lnkPrev" runat="server">上一页</asp:HyperLink>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    <asp:HyperLink ID="lnkNext" runat="server">下一页</asp:HyperLink>
                    &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
                    <asp:HyperLink ID="hylastpage" runat="server">尾页</asp:HyperLink>
                </td>
            </tr>
        </tbody>
    </table>
</asp:Content>


